package com.meritdata.cloud.data.javabean; /***********************************************************************
 * Module:  TD_DATA_SOURCE.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_DATA_SOURCE
 ***********************************************************************/

import java.util.*;

/** 数据源 */
public class TdDataSource {
	/** ID:ID */
	private Long id;
	/** 名称:NAME */
	private String name;
	/** 描述:DESC */
	private String desc;
	/** 连接字符串:URL */
	private String url;
	/** 登录用户名:USER */
	private String user;
	/**
	 * 1:禁用
	 * 
	 * 启用状态:ENABLE
	 */
	private int enable;
	/** 登录密码:PASSWORD */
	private String password;
	/** 最大连接数:MAX_ACTIVE */
	private int maxActive;
	/** 初始连接数:INITIAL_SIZE */
	private int initialSize;
	/** 空闲回收时间:MAX_WAIT */
	private int maxWait;
	/**
	 * JSON
	 * 
	 * 扩展属性:INFO
	 */
	private String info;
	/**
	 * 0:不开启，1:开启
	 * 
	 * 是否采集元数据:ENABLE_COLLECTION
	 */
	private int enableCollection;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getMaxActive() {
		return maxActive;
	}
	public void setMaxActive(int maxActive) {
		this.maxActive = maxActive;
	}
	public int getInitialSize() {
		return initialSize;
	}
	public void setInitialSize(int initialSize) {
		this.initialSize = initialSize;
	}
	public int getMaxWait() {
		return maxWait;
	}
	public void setMaxWait(int maxWait) {
		this.maxWait = maxWait;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public int getEnableCollection() {
		return enableCollection;
	}
	public void setEnableCollection(int enableCollection) {
		this.enableCollection = enableCollection;
	}}